package com.mapper.configration;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.po.DictionaryInfo;

public interface DictionaryMapper {
	public List<DictionaryInfo> getDictionaryList(DictionaryInfo dictionaryInfo);

	public int getDictionaryCount(DictionaryInfo dictionaryInfo);

	public int addDictionary(DictionaryInfo dictionaryInfo);

	public int updateDictionary(DictionaryInfo dictionaryInfo);

	public int deleteDictionary(DictionaryInfo dictionaryInfo);

	public int deleteDictionarys(String[] ids);

	public int getDictionaryMax();
	
	public int updateInfoTagname(@Param("oldtagname")String oldtagname,@Param("newtagname")String newtagname);
	
}
